﻿package core.ui.options
{
    import core.ui.controls.*;
    import core.ui.util.*;
    import flash.display.*;

    public class TypeOptions extends Sprite implements IToolOptions
    {
        var ed:Tuyitu;
        public var panel:TypeTuyitu;

        public function TypeOptions(param1:Tuyitu)
        {
            this.ed = param1;
            this.panel = new TypeTuyitu(param1);
            this.panel.x = 250;
            this.panel.y = 40;
            addChild(this.panel);
            var _loc_2:* = 10;
            var _loc_3:* = 15;
            var _loc_4:* = new Literal("rm_type_description");
            _loc_4.x = _loc_2;
            _loc_4.y = 2;
            addChild(_loc_4);
            return;
        }// end function

        public function get options() : Object
        {
            return {size:this.panel.size.value, font:this.panel.font.value, format:int(this.panel.format.value), color:this.panel.color.value};
        }// end function

    }
}
